﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="CreateAccountForStaff.aspx.cs" Inherits="HotelManagement.UserManagementModule.CreateAccountForStaff1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
   <style type="text/css">
    .style29
    {
        font-size: large;
        text-align: left;
    }
    
          #Reset1
        {
            width: 121px;
            height: 48px;
            margin-top: 0px;
        }
        .style30
       {
           width: 144px;
       }
       .style31
       {
           width: 144px;
           height: 26px;
       }
       .style32
       {
           height: 26px;
       }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <strong><span class="style29">Welcome Admin</span></strong>_<strong><asp:Label ID="Label3" runat="server" CssClass="style29"></asp:Label>
    </strong>
    <hr style="color: #FFFFFF" />
    <h4 style="width: 854px">
        Create Account For Staff_<strong><asp:Label ID="Label4" runat="server" 
            CssClass="style29"></asp:Label>
    </strong>
    </h4>
    <table class="style7">
        <tr>
            <td class="style30">
                Staff ID:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox1" runat="server" AutoCompleteType="Search" 
                    Width="245px" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style30">
                First Name:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox2" runat="server" AutoCompleteType="Search" 
                    Width="245px" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style30">
                Last Name:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox3" runat="server" AutoCompleteType="Search" 
                    Width="245px" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                <br />
            </td>
        </tr>
        <tr>
            <td class="style30">
                Email:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox4" runat="server" AutoCompleteType="Search" 
                    Width="245px" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style30">
                Role in Hotel:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox5" runat="server" AutoCompleteType="Search" 
                    Width="245px" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style31">
                UserName:</td>
            <td class="style32">
                <asp:TextBox ID="TextBox6" runat="server" AutoCompleteType="Search" 
                    Width="245px"></asp:TextBox>
            </td>
            <td class="style32">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="TextBox6" ErrorMessage="You can't leave this empty!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <asp:Label ID="Label9" runat="server" ForeColor="Red" 
                    Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style30">
                Password:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox7" runat="server" AutoCompleteType="Search" 
                    TextMode="Password" Width="245px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="TextBox7" ErrorMessage="You can't leave this empty!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style30">
                Confirm Password:</td>
            <td class="style9">
                <asp:TextBox ID="TextBox8" runat="server" AutoCompleteType="Search" 
                    TextMode="Password" Width="245px"></asp:TextBox>
            </td>
            <td>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="TextBox7" ControlToValidate="TextBox8" 
                    ErrorMessage="Confirm Password must match the New Password!" 
                    ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
    </table>
    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" 
        ForeColor="Red" Text="Create Account is failed! Please Try Again!" 
        Visible="False"></asp:Label>
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button4" runat="server" ForeColor="Black" Height="48px" 
        onclick="Button4_Click" Text="Create" Width="122px" />
&nbsp;&nbsp;&nbsp;
            <input id="Reset1" type="reset" value="Reset" />&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button3" runat="server" CausesValidation="False" 
        ForeColor="Black" Height="48px" 
        PostBackUrl="~/UserManagementModule/FilterByDutyType.aspx" style="margin-top: 11px" 
        Text="Cancel" UseSubmitBehavior="False" Width="121px" />
    <br />
</asp:Content>
